package com.property.management.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.property.common.annotation.Excel;
import com.property.common.core.domain.BaseEntity;

/**
 * 报修信息对象 repair_info
 * 
 * @author property
 * @date 2021-05-08
 */
public class RepairInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Integer id;

    /** 报修内容 */
    @Excel(name = "报修内容")
    private String repairName;

    /** 设备位置 */
    @Excel(name = "设备位置")
    private String repairLocation;

    /** 报修时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "报修时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date repairSubmitTime;

    /** 报修原因 */
    private String repairReason;

    /** 修理方式 */
    @Excel(name = "修理方式")
    private String repairType;

    /** 修理人 */
    @Excel(name = "修理人")
    private String repairSolver;

    /** 报修单状态 */
    @Excel(name = "报修单状态")
    private String repairStatus;

    /** 修理结果 */
    private String repairResult;

    /** 删除标志 */
    private Integer isDel;

    /** 所属小区id */
    private Integer courtId;

    public void setId(Integer id) 
    {
        this.id = id;
    }

    public Integer getId() 
    {
        return id;
    }
    public void setRepairName(String repairName) 
    {
        this.repairName = repairName;
    }

    public String getRepairName() 
    {
        return repairName;
    }
    public void setRepairLocation(String repairLocation) 
    {
        this.repairLocation = repairLocation;
    }

    public String getRepairLocation() 
    {
        return repairLocation;
    }
    public void setRepairSubmitTime(Date repairSubmitTime) 
    {
        this.repairSubmitTime = repairSubmitTime;
    }

    public Date getRepairSubmitTime() 
    {
        return repairSubmitTime;
    }
    public void setRepairReason(String repairReason) 
    {
        this.repairReason = repairReason;
    }

    public String getRepairReason() 
    {
        return repairReason;
    }
    public void setRepairType(String repairType) 
    {
        this.repairType = repairType;
    }

    public String getRepairType() 
    {
        return repairType;
    }
    public void setRepairSolver(String repairSolver) 
    {
        this.repairSolver = repairSolver;
    }

    public String getRepairSolver() 
    {
        return repairSolver;
    }
    public void setRepairStatus(String repairStatus) 
    {
        this.repairStatus = repairStatus;
    }

    public String getRepairStatus() 
    {
        return repairStatus;
    }
    public void setRepairResult(String repairResult) 
    {
        this.repairResult = repairResult;
    }

    public String getRepairResult() 
    {
        return repairResult;
    }
    public void setIsDel(Integer isDel) 
    {
        this.isDel = isDel;
    }

    public Integer getIsDel() 
    {
        return isDel;
    }
    public void setCourtId(Integer courtId) 
    {
        this.courtId = courtId;
    }

    public Integer getCourtId() 
    {
        return courtId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("repairName", getRepairName())
            .append("repairLocation", getRepairLocation())
            .append("repairSubmitTime", getRepairSubmitTime())
            .append("repairReason", getRepairReason())
            .append("repairType", getRepairType())
            .append("repairSolver", getRepairSolver())
            .append("repairStatus", getRepairStatus())
            .append("repairResult", getRepairResult())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("isDel", getIsDel())
            .append("courtId", getCourtId())
            .toString();
    }
}
